package cn.com.zero.manager.auth.vo;

import cn.com.zero.api.auth.vo.LockedUserVO;

/**
 * @author guoxin
 * @version 1.0.0
 * @Description
 * @date 2023/4/3 13:37
 */
public class ManagerLockedUserVO extends LockedUserVO {

    /**
     * 用户手机号
     */
    private String mobile;

    /**
     * 用户名称
     */
    private String userName;

    @Override
    public LockedUserVO clone(LockedUserVO lockedUserVO) {
        ManagerLockedUserVO managerLockedUserVO = null;
        try {
            managerLockedUserVO = (ManagerLockedUserVO) super.clone();
        } catch (CloneNotSupportedException e) {
            managerLockedUserVO = new ManagerLockedUserVO();
        }
        managerLockedUserVO.setUserId(lockedUserVO.getUserId());
        managerLockedUserVO.setLoginIp(lockedUserVO.getLoginIp());
        managerLockedUserVO.setLoginTime(lockedUserVO.getLoginTime());
        managerLockedUserVO.setLockedTime(lockedUserVO.getLockedTime());
        return managerLockedUserVO;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
